import { axiosInstance } from '../utils/request'

//获取监控
export const getAllRedisApi = (data) => {
    return axiosInstance.get(`/redis/info`, { headers: { 'Authentication': localStorage.token } })
}

//获取 keysSize
export const getKeysSizeApi = () => {
    return axiosInstance.get('/redis/keysSize', { headers: { 'Authentication': localStorage.token } })
}

//获取 memoryInfo
export const getMemoryInfoApi = () => {
    return axiosInstance.get('/redis/memoryInfo', { headers: { 'Authentication': localStorage.token } })
}